<%-- 
    Document   : showHistory
    Created on : Mar 27, 2014, 11:04:46 AM
    Author     : MIRO
--%>

<%@page import="java.util.List"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <table>
            <%

                for (Object uhm : (List) request.getAttribute("history")) {
            %>
            <tr>
                <td>
                    <%= ((pojo.UserHasMobile) uhm).getUser().getName() %>
                </td>
                <td>
                    <%= ((pojo.UserHasMobile) uhm).getMobile().getName() %>                    
                </td>
            </tr>
            <%
        }
        
            %>
        </table>
    </body>
</html>
